package com.air.ota.vo;

import com.air.ota.util.HexStringUtil;

public class UTKDepositSyncResultDownlinkVO extends UTKBaseDownlinkVO {
	
	
	protected byte[] cardAppSequence;
	protected byte[] syncSequence;
	protected byte result;
	
	public UTKDepositSyncResultDownlinkVO(
			byte[] cardSequence,byte[] pkgSequence,
			byte[] cardAppSequence,byte[] syncSequence,
			byte result) {
		super(cardSequence, pkgSequence);
		this.cmdType = 0x12;
		
		this.cardAppSequence = cardAppSequence;
		this.syncSequence = syncSequence;
		this.result = result;
		
		String cmdDataHexString=HexStringUtil.bytesToHexString(this.cardAppSequence)+
			HexStringUtil.bytesToHexString(this.syncSequence)+
			HexStringUtil.byteToHexString(this.result)+
			HexStringUtil.bytesToHexString(this.pkgSequence);
	
		this.cmdData = HexStringUtil.hexStringToBytes(cmdDataHexString);
		
		// TODO Auto-generated constructor stub
	}
	
}
